package com.xidian.zhiancloud.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.zhiancloud.model.SysAnnouncement;
import com.xidian.zhiancloud.model.SysAnnouncementExample;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface SysAnnounMapper extends BaseMapper<SysAnnouncement> {

    long countByExample(SysAnnouncementExample example);

    List<SysAnnouncement> selectByExampleWithRowbounds(SysAnnouncementExample example, RowBounds rowBounds);

    SysAnnouncement selectByPrimaryKey(Long id);

}
